package cn.itcast.tags.models.rule

import cn.itcast.tags.models.{AbstractModel, ModelType}
import cn.itcast.tags.tools.TagTools
import org.apache.spark.sql.DataFrame

class NationalityTagModel extends AbstractModel("国籍",ModelType.MATCH){
  override def doTag(businessDF: DataFrame, tagDF: DataFrame): DataFrame = {
    TagTools.ruleMatchTag(businessDF,"nationality",tagDF)
  }
}
object NationalityTagModel{
  def main(args: Array[String]): Unit = {
    val model = new NationalityTagModel
    model.executeModel(332L,true)
  }
}
